﻿using QaaSimulation.QSim.Ships;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;


namespace QaaSimulation.QSim
{
    public abstract class QSpaceObject
    {
        protected QOrientation m_Orientation;
        public QOrientation Orientation
        {
            get
            {
                return m_Orientation;
            }
            set
            {
                m_Orientation = value;
            }
        }

        protected QModel m_Model;
        public QModel Model
        {
            get
            {
                return m_Model;
            }
            set
            {
                m_Model = value;
            }
        }

        protected List<QModule> m_Modules;
        public List<QModule> Modules
        {
            get
            {
                return m_Modules;
            }
            set
            {
                m_Modules = value;
            }
        }

        public QSpaceObject()
        {
            m_Orientation = new QOrientation();
            m_Modules = new List<QModule>();
        }

        public abstract void Paint(Graphics g);

        public abstract void Compute(float elapsedTime);

        public abstract void HandleInput(byte[] keys);
    }
}
